package top.heliming.youyou.item.service;

import java.util.List;
import top.heliming.youyou.common.pojo.PageResult;
import top.heliming.youyou.item.pojo.Brand;
import top.heliming.youyou.item.pojo.Category;

/**
 * description: //TODO
 *
 * @author: heliming
 * @date:2019/05/27 下午 10:52
 */
public interface BrandService {
  PageResult<Brand> queryBrandByPageAndSort(
      Integer page, Integer rows, String sortBy, Boolean desc, String key);

  void saveBrand(Brand brand, List<Long> cids);

   List<Brand> queryBrandByCategory(Long cid);

  List<Brand> queryBrandByIds(List<Long> ids) ;
}
